//--- OBJECT WRITE BEGIN ---
new GuiChunkedBitmapCtrl(TKDA_cubes) {
   canSaveDynamicFields = "1";
   Profile = "GuiDefaultProfile";
   HorizSizing = "relative";
   VertSizing = "relative";
   position = "0 0";
   Extent = "800 600";
   MinExtent = "8 2";
   canSave = "1";
   Visible = "1";
   hovertime = "1000";
   bitmap = "~/client/ui/images/background.png";
   useVariable = "0";
   tile = "0";
      deskObject = "cubes_deskControl";
      gChairObject = "cubes_gChairControl";
      qualityText = "cubes_qualityText";
      wallGui3 = "cubes_westBitmap";
      bookCaseObject = "cubes_bookcaseControl";
      costText = "cubes_costText";
      wallGui1 = "cubes_eastBitmap";
      wallGui0 = "cubes_northBitmap";
      costLabel = "cubes_costLabel";
      objectList = "cubes_objectList";
      dChairObject = "cubes_dChairControl";
      typeText = "cubes_typeText";
      wallGui2 = "cubes_southBitmap";
      lampObject = "cubes_lampControl";
      grids = "cubeFarmGrids";
      viewObj = "cubes_viewObject";
      plantObject = "cubes_plantControl";

   new GuiBitmapButtonCtrl(cubes_applyBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "644 552";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "applyCubeRoomChanges();";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to apply your changes to this office";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/applyBtn";
   };
   new GuiBitmapButtonCtrl(cubes_cancelBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "352 552";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "cancelRoomChanges(TKDA_cubes);";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to exit office editor and reset settings";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/cancelBtn";
   };
   new GuiBitmapButtonCtrl(cubes_resetBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "500 552";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "resetRoom(TKDA_cubes);";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to reset the room";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/resetBtn";
   };
   new GuiTextCtrl(cubes_costLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "60 63";
      Extent = "18 18";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "180";
      maxLength = "1024";
   };
   new GuiTextCtrl(cubes_cost) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "31 63";
      Extent = "25 18";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Cost:";
      maxLength = "1024";
   };
   new GuiTextCtrl(cubes) {
      canSaveDynamicFields = "0";
      Profile = "TKDARoomGuiTextProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "27 30";
      Extent = "91 40";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Cubes";
      maxLength = "1024";
   };
   new GuiBitmapCtrl(cubesBitmap) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "12 101";
      Extent = "318 355";
      MinExtent = "318 354";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      bitmap = "~/client/ui/images/TKDA_cubes.png";
      wrap = "0";
   };
   new GuiBitmapCtrl(cubes_wallButtonBackground) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "333 384";
      Extent = "460 160";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      bitmap = "~/client/ui/images/infoWindow.png";
      wrap = "0";
   };
   new GuiBitmapButtonCtrl(cubes_northLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "368 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_northLesser.selectLesser(TKDA_cubes.tempRoom, 0);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(cubes_northBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "380 424";
      Extent = "64 64";
      MinExtent = "64 64";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(cubes_northGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "420 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_northGreater.selectGreater(TKDA_cubes.tempRoom, 0);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(cubes_southLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "468 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_northLesser.selectLesser(TKDA_cubes.tempRoom, 2);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(cubes_southBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "480 424";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Click to create a desk";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(cubes_southGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "520 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_southGreater.selectGreater(TKDA_cubes.tempRoom, 2);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(cubes_eastLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "568 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_northLesser.selectLesser(TKDA_cubes.tempRoom, 1);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(cubes_eastBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "580 424";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Click to create a desk";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(cubes_eastGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "620 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_eastGreater.selectGreater(TKDA_cubes.tempRoom, 1);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(cubes_westLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "668 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_northLesser.selectLesser(TKDA_cubes.tempRoom, 3);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(cubes_westBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "680 424";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Click to create a desk";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(cubes_westGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "720 500";
      Extent = "32 32";
      MinExtent = "32 32";
      canSave = "1";
      Visible = "1";
      Command = "cubes_westGreater.selectGreater(TKDA_cubes.tempRoom, 3);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiTextCtrl(cubes_northWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "384 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "North Wall";
      maxLength = "1024";
   };
   new GuiTextCtrl(cubes_southWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "484 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "South Wall";
      maxLength = "1024";
   };
   new GuiTextCtrl(cubes_eastWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "588 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "East Wall";
      maxLength = "1024";
   };
   new GuiTextCtrl(cubes_westWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "685 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "West Wall";
      maxLength = "1024";
   };
};
//--- OBJECT WRITE END ---
function TKDA_cubes::onWake(%this)
{
   updateRoomWall(TKDA_cubes.temproom, 0);
   updateRoomWall(TKDA_cubes.temproom, 1);
   updateRoomWall(TKDA_cubes.temproom, 2);
   updateRoomWall(TKDA_cubes.temproom, 3);
}
